<?php /* Smarty version Smarty-3.1.13, created on 2013-05-17 13:23:25
         compiled from "static\skin\pages\submenu.tpl" */ ?>
<?php /*%%SmartyHeaderCode:104285196132d5d2405-29158175%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '856fb495781c4ceda6dd625a398f9f12ca1d0f56' => 
    array (
      0 => 'static\\skin\\pages\\submenu.tpl',
      1 => 1361563363,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '104285196132d5d2405-29158175',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'user' => 0,
    'user_profile' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_5196132d60a394_80535074',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5196132d60a394_80535074')) {function content_5196132d60a394_80535074($_smarty_tpl) {?><div id="submenu">
    <ul>
        <li><a href="profile.php?username=<?php echo $_smarty_tpl->tpl_vars['user']->value->getUsername();?>
&action=summary">Riepilogo</a></li>
        <?php if ($_smarty_tpl->tpl_vars['user_profile']->value->username==$_smarty_tpl->tpl_vars['user']->value->username){?>
        :: 
        <li><a href="profile.php?username=<?php echo $_smarty_tpl->tpl_vars['user']->value->getUsername();?>
&action=mail">Posta</a></li> :: 
        <li><a href="profile.php?username=<?php echo $_smarty_tpl->tpl_vars['user']->value->getUsername();?>
&action=edit">Modifica Profilo</a></li> ::
        <li><a href="profile.php?username=<?php echo $_smarty_tpl->tpl_vars['user']->value->getUsername();?>
&action=thread">Discussioni recenti</a></li>
        
        <?php }else{ ?>
            :: 
            <li><a href="profile.php?username=<?php echo $_smarty_tpl->tpl_vars['user_profile']->value->getUsername();?>
&action=pm">Invia messaggio</a></li>
        <?php }?>
        
    </ul>
</div><?php }} ?>